<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateTechSopesTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('tech_sope', function(Blueprint $table)
		{
			$table->increments('id');
			$table->timestamps();
			//关联tyw_technologies
			$table->integer('tech_id');
			//varchar 255  应用范围名称
			$table->string('name');
			//varchar 255   应用范围内容
			$table->string('content');
			$table->softDeletes();


		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('tech_sopes');
	}

}
